package com.yonyou.pmclouds.discuss.mapper;

import com.yonyou.pmclouds.basecom.dao.BaseMapper;
import com.yonyou.pmclouds.basecom.entity.KeyCountVO;
import com.yonyou.pmclouds.discuss.entity.DiscussionVO;

public interface DiscussionMapper extends BaseMapper<DiscussionVO> {
    DiscussionVO[] queryByRelateKey(String relateKey);

    int countByRelateKey(String relateKey);

    KeyCountVO[] countByRelateKeys(String[] keys);
}
